package jeopardy.common.protocol.useraccount;


/**
 * Lookup or create
 * @author jlee
 *
 */
public class UserAccountRequest {
	String method = null;
	String user = null;
	char[] password = null;
	
	UserAccountRequest(){}
	
	public boolean isCreateRequest(){
		return UserAccountUtils.METHOD_CREATE.equals(method);
	}
	public boolean isAuthRequest(){
		return UserAccountUtils.METHOD_AUTH.equals(method);
	}
	
	public String getMethod(){
		return method;
	}
	
	public String getUser(){
		return user;
	}
	
	public char[] getPassword(){
		return password;
	}
}